Skip to main content

GET /organizations/me/list

Returns a list of all organizations where the authenticated user is a member, including their role and active status.

Authentication

Requires authentication. The endpoint uses the current user’s session to determine membership.

Response

Returns an array of organization list items.
id
string (UUID)
required
Unique identifier for the organization
name
string
required
Name of the organization
role
string
required
User’s role in the organization. Possible values: owner, admin, member
is_active
boolean
required
Whether this is the user’s currently active organization

Example Request

curl -X GET "https://api.openclaw.com/organizations/me/list" \
  -H "Authorization: Bearer YOUR_TOKEN"

Example Response

[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Acme Corp",
    "role": "owner",
    "is_active": true
  },
  {
    "id": "660e8400-e29b-41d4-a716-446655440001",
    "name": "Beta Industries",
    "role": "member",
    "is_active": false
  }
]

Notes

  • Organizations are returned sorted alphabetically by name (case-insensitive)
  • Only organizations where the user has an active membership are included
  • The endpoint also refreshes and validates the user’s active membership status